package com.caishi.lkx.common.role;

import lombok.Getter;

/**
 * @author by keray
 * date:2021/4/1 3:25 下午
 * string角色：
 * dev: 开发角色
 */
public enum Role {
    none("开放接口", 0),
    onlyLogin("只需登录", 10),
    member("普通用户", 20),
 //   groupMember("机构用户", 21),
//    vipMember("VIP用户", 30),
//    assistant("助教", 31),
//    teacher("老师", 40),
    agentAdmin("代理商",60),
    agentKefu("代理商客服",61),
    channelBusiness("渠道商", 90),
    //groupAdmin("机构管理员", 100),
   // groupOwner("机构拥有者", 101),
    admin("管理员", 500),
    dev("开发", 1000),
   // yktMember("云课堂普通用户", 256),

    distributer("分销员", 2000),
    maxAdmin("超级管理员", 9999999),

    ;
    @Getter
    private final int level;

    @Getter
    private final String desc;



    Role(String desc, int level) {
        this.desc = desc;
        this.level = level;

    }
}
